package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.YxxDormitoryBalances;

/**
 * 寝室余额，记录水费和电费的可用余额Service接口
 * 
 * @author ruoyi
 * @date 2025-03-10
 */
public interface IYxxDormitoryBalancesService 
{
    /**
     * 查询寝室余额，记录水费和电费的可用余额
     * 
     * @param id 寝室余额，记录水费和电费的可用余额主键
     * @return 寝室余额，记录水费和电费的可用余额
     */
    public YxxDormitoryBalances selectYxxDormitoryBalancesById(Long id);

    /**
     * 查询寝室余额，记录水费和电费的可用余额列表
     * 
     * @param yxxDormitoryBalances 寝室余额，记录水费和电费的可用余额
     * @return 寝室余额，记录水费和电费的可用余额集合
     */
    public List<YxxDormitoryBalances> selectYxxDormitoryBalancesList(YxxDormitoryBalances yxxDormitoryBalances);

    /**
     * 新增寝室余额，记录水费和电费的可用余额
     * 
     * @param yxxDormitoryBalances 寝室余额，记录水费和电费的可用余额
     * @return 结果
     */
    public int insertYxxDormitoryBalances(YxxDormitoryBalances yxxDormitoryBalances);

    /**
     * 修改寝室余额，记录水费和电费的可用余额
     * 
     * @param yxxDormitoryBalances 寝室余额，记录水费和电费的可用余额
     * @return 结果
     */
    public int updateYxxDormitoryBalances(YxxDormitoryBalances yxxDormitoryBalances);

    /**
     * 批量删除寝室余额，记录水费和电费的可用余额
     * 
     * @param ids 需要删除的寝室余额，记录水费和电费的可用余额主键集合
     * @return 结果
     */
    public int deleteYxxDormitoryBalancesByIds(Long[] ids);

    /**
     * 删除寝室余额，记录水费和电费的可用余额信息
     * 
     * @param id 寝室余额，记录水费和电费的可用余额主键
     * @return 结果
     */
    public int deleteYxxDormitoryBalancesById(Long id);
}
